<template>
  <div>
    <table class="table1 owntable mb20 tableLayout" border="0" cellspacing="0" cellpadding="1" style="width: 100%;">
      <tr>
        <td width="150">文件作废管理编号</td>
        <td>{{ item.number }}</td>
        <td width="150">编制部门</td>
        <td>{{ item.createDeptName }}</td>
      </tr>
    </table>
    <div class="f14 mb20">作废文件如下：</div>
    <table class="table1 owntable tableLayout mb20" border="0" cellspacing="0" cellpadding="1" style="width: 100%;" v-for="(v, k) in item.voidList" :key="index">
      <tr>
        <td width="150">作废文件名称</td>
        <td>{{ v.name }}</td>
        <td width="150">作废文件编号</td>
        <td>{{ v.fileNumber }}</td>
      </tr>
      <tr>
        <td>作废文件版本号</td>
        <td>{{ v.versionNumber }}</td>
        <td>数量</td>
        <td>{{ v.qty }}</td>
      </tr>
      <tr>
        <td>作废文件处理</td>
        <td>{{ v.dealType == 0 ? '原件作废保留' : '原件作废销毁' }}</td>
        <td>原件作废保留期限</td>
        <td>{{ v.dealType == 0 ? v.voidRetentionPeriod : '-' }}</td>
      </tr>
      <tr>
        <td>作废日期</td>
        <td>{{ v.voidDate }}</td>
        <td>申请部门</td>
        <td>{{ v.applyDeptName }}</td>
      </tr>
      <tr>
        <td>申请人</td>
        <td colspan="3">{{ v.applyUserName }}</td>
      </tr>
    </table>
  </div>
</template>

<script>
export default {
  props: {
    item: {}
  }
};
</script>

<style></style>
